﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="AddPartTimeDetails.aspx.cs"
    Inherits="Actuals.AddPartTimeDetails" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server" id="head1">
<base target = "_self" />
    <link href="Actuals.css" rel="Stylesheet" type="text/css" />
    <link href="~/themes/ui-lightness/jquery.ui.all.css" rel="stylesheet" type="text/css" />
    <base target = "_self" />
    <title>Add Part Time Details </title>
    <script type ="text/javascript" src="<%= ResolveUrl("~/Scripts/jquery.js")%>"></script>
    <script type="text/javascript"" src="<%= ResolveUrl("~/Scripts/jquery.ui.datepicker.js") %>"></script>
    <script type="text/javascript" src="<%= ResolveUrl("~/Scripts/jquery.ui.core.js") %>"></script>
    <script type="text/javascript">

        $(document).ready(function () {
            $("#<%=txtWorkFromDate.ClientID%>").datepicker({ dateFormat: 'mm-dd-yy', changeYear: true, changeMonth: true, yearRange: '2011:2013' });
            $("#<%=txtWorkToDate.ClientID %>").datepicker({ dateFormat: 'mm-dd-yy', changeMonth: true, changeYear: true, yearRange: '2011:2013' });
        });
  </script>
</head>
<body>
    <form id="form1" runat="server">
    <center>
        <div id="divAddPartTimeDetails" runat="server">
            <asp:Label ID="lblMsg" runat="server" CssClass="label"></asp:Label>
            <table>
                <tr>
                    <td>
                        <asp:Label ID="lblEmployee" runat="server" CssClass="label">Employee </asp:Label>
                    </td>
                    <td align="left">
                        <asp:DropDownList ID="ddlEmployee" runat="server" CssClass="textfield">
                        </asp:DropDownList>
                    </td>
                </tr>
                <tr>
                    <td>
                        <asp:Label ID="lblTeam" runat="server" CssClass="label">Team </asp:Label>
                    </td>
                    <td align="left">
                        <asp:DropDownList ID="ddlTeam" runat="server" CssClass="textfield">
                        </asp:DropDownList>
                    </td>
                </tr>
                <tr>
                    <td>
                        <asp:Label ID="lblWorkFromDate" runat="server" CssClass="label">WorkFromDate </asp:Label>
                    </td>
                    <td align="left">
                        <asp:TextBox ID="txtWorkFromDate" runat="server" CssClass="textfield"></asp:TextBox>
                    </td>
                </tr>
                <tr>
                    <td>
                        <asp:Label ID="lblWorkToDate" runat="server" CssClass="label">WorkToDate </asp:Label>
                    </td>
                    <td align="left">
                        <asp:TextBox ID="txtWorkToDate" runat="server" CssClass="textfield"></asp:TextBox>
                    </td>
                </tr>
                <tr>
                    <td>
                        <asp:Label ID="lblNoOfHours" runat="server" CssClass="label">NoOfHours </asp:Label>
                    </td>
                    <td align="left">
                        <asp:TextBox ID="txtNoOfHours" runat="server" CssClass="textfield"></asp:TextBox>
                    </td>
                </tr>
                <tr>
            <td colspan=2><asp:Button ID="btnSave" runat="server" Text="Save" OnClick="btnSave_Click" />
            <input type="button" value="close" onclick="window.close();" /></td>
            </tr>
            </table>
        </div>
    </center>
    </form>
</body>
</html>
